home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTTTAAAASSSSKKKKCCCCTTTTLLLL((((3333PPPP)))) TTTTAAAASSSSKKKKCCCCTTTTLLLL((((3333PPPP))))
-
-
-
- NNNNAAAAMMMMEEEE
- taskctl - operations on a task
-
- CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ttttyyyyppppeeeessss....hhhh>>>>
- ####iiiinnnncccclllluuuuddddeeee <<<<ttttaaaasssskkkk....hhhh>>>>
-
- iiiinnnntttt ttttaaaasssskkkkccccttttllll ((((ttttiiiidddd____tttt ttttiiiidddd,,,, uuuunnnnssssiiiiggggnnnneeeedddd ooooppppttttiiiioooonnnn))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _t_a_s_k_c_t_l provides both information about tasks and the ability to control
- certain attributes of a task. _o_p_t_i_o_n specifies one of the following:
-
- TTTTSSSSKKKK____IIIISSSSBBBBLLLLOOOOCCCCKKKKEEEEDDDD
- returns 1 if the specified task is currently blocked. Since
- other processes could have subsequently unblocked the task, the
- result should be considered a snapshot only.
-
- _t_a_s_k_c_t_l will fail if one or more of the following are true:
-
- [EINVAL] _o_p_t_i_o_n does not refer to a valid option.
-
- [EINVAL] _t_i_d does not refer to a valid task.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- prctl(2), taskcreate(3P), taskdestroy(3P).
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- Upon successful completion, _t_a_s_k_c_t_l returns a _o_p_t_i_o_n specific value.
- Otherwise, a value of -1 is returned to the calling task, and _e_r_r_n_o is
- set to indicate the error.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-